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

fixed tests

parent d98b1833
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -23,7 +23,7 @@ describe Issue do
it { Factory.create(:issue,
:author => Factory(:user),
:assignee => Factory(:user),
:projet => Factory.create(:project)).should be_valid }
:project => Factory.create(:project)).should be_valid }
 
describe "plus 1" do
let(:project) { Factory(:project) }
Loading
Loading
Loading
Loading
@@ -45,7 +45,7 @@ describe "Milestones" do
end
 
it { current_path.should == project_milestone_path(project, project.milestones.last) }
it { should have_content(@milestone.title[0..10]) }
it { should have_content(@milestone.expires_at) }
it { page.should have_content(project.milestones.last.title[0..10]) }
it { page.should have_content(project.milestones.last.expires_at) }
end
end
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