diff options
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/dashboard_spec.rb | 1 | ||||
-rw-r--r-- | spec/requests/projects_spec.rb | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/spec/requests/dashboard_spec.rb b/spec/requests/dashboard_spec.rb index 6940366af41..d54c6154b55 100644 --- a/spec/requests/dashboard_spec.rb +++ b/spec/requests/dashboard_spec.rb @@ -22,6 +22,7 @@ describe "Dashboard" do it "should have news feed" do within "#news-feed" do + page.should have_content("master") page.should have_content(@project.commit.author.name) page.should have_content(@project.commit.safe_message) end diff --git a/spec/requests/projects_spec.rb b/spec/requests/projects_spec.rb index 3d8971579b9..85c2d27525b 100644 --- a/spec/requests/projects_spec.rb +++ b/spec/requests/projects_spec.rb @@ -72,10 +72,13 @@ describe "Projects" do current_path.should == project_path(@project) end - it "should beahave like dashboard" do - page.should have_content("History") + it "should beahave like activities page" do + within ".project-update" do + page.should have_content("master") + page.should have_content(@project.commit.author.name) + page.should have_content(@project.commit.safe_message) + end end - end describe "GET /projects/team" do |