Skip to content
Snippets Groups Projects
Commit 9dd4ddd3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fixed tests

parent 89620cbe
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,7 +6,7 @@ describe Project do
it { should have_many(:builds) }
 
describe :path do
it { should allow_value(Rails.root.join('tmp', 'repositories', 'six')).for(:path) }
it { should allow_value(Rails.root.join('tmp', 'repositories', 'six').to_s).for(:path) }
it { should_not allow_value('/tmp').for(:path) }
end
 
Loading
Loading
@@ -48,7 +48,7 @@ describe Project do
it { project.last_build.should be_kind_of(Build) }
it { project.human_status.should == 'pending' }
it { project.status_image.should == 'running.png' }
it { project.last_commit.sha.should == '1c8a9df454ef68c22c2a33cca8232bb50849e5c5' }
it { project.last_commit.oid.should == '1c8a9df454ef68c22c2a33cca8232bb50849e5c5' }
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment