Skip to content

Commit

Permalink
Fix feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe committed Oct 26, 2015
1 parent 3013d13 commit fe55c0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions spec/features/comments/debates_spec.rb
Expand Up @@ -219,7 +219,7 @@
within "#comments" do
expect(page).to have_content "I am moderating!"
expect(page).to have_content "Moderator ##{moderator.id}"
expect(page).to have_css "p.is-moderator"
expect(page).to have_css "div.is-moderator"
expect(page).to have_css "img.moderator-avatar"
end
end
Expand All @@ -244,7 +244,7 @@
within "#comment_#{comment.id}" do
expect(page).to have_content "I am moderating!"
expect(page).to have_content "Moderator ##{moderator.id}"
expect(page).to have_css "p.is-moderator"
expect(page).to have_css "div.is-moderator"
expect(page).to have_css "img.moderator-avatar"
end

Expand Down Expand Up @@ -275,7 +275,7 @@
within "#comments" do
expect(page).to have_content "I am your Admin!"
expect(page).to have_content "Administrator ##{admin.id}"
expect(page).to have_css "p.is-admin"
expect(page).to have_css "div.is-admin"
expect(page).to have_css "img.admin-avatar"
end
end
Expand All @@ -300,7 +300,7 @@
within "#comment_#{comment.id}" do
expect(page).to have_content "Top of the world!"
expect(page).to have_content "Administrator ##{admin.id}"
expect(page).to have_css "p.is-admin"
expect(page).to have_css "div.is-admin"
expect(page).to have_css "img.admin-avatar"
end

Expand Down
8 changes: 4 additions & 4 deletions spec/features/comments/proposals_spec.rb
Expand Up @@ -219,7 +219,7 @@
within "#comments" do
expect(page).to have_content "I am moderating!"
expect(page).to have_content "Moderator ##{moderator.id}"
expect(page).to have_css "p.is-moderator"
expect(page).to have_css "div.is-moderator"
expect(page).to have_css "img.moderator-avatar"
end
end
Expand All @@ -244,7 +244,7 @@
within "#comment_#{comment.id}" do
expect(page).to have_content "I am moderating!"
expect(page).to have_content "Moderator ##{moderator.id}"
expect(page).to have_css "p.is-moderator"
expect(page).to have_css "div.is-moderator"
expect(page).to have_css "img.moderator-avatar"
end

Expand Down Expand Up @@ -275,7 +275,7 @@
within "#comments" do
expect(page).to have_content "I am your Admin!"
expect(page).to have_content "Administrator ##{admin.id}"
expect(page).to have_css "p.is-admin"
expect(page).to have_css "div.is-admin"
expect(page).to have_css "img.admin-avatar"
end
end
Expand All @@ -300,7 +300,7 @@
within "#comment_#{comment.id}" do
expect(page).to have_content "Top of the world!"
expect(page).to have_content "Administrator ##{admin.id}"
expect(page).to have_css "p.is-admin"
expect(page).to have_css "div.is-admin"
expect(page).to have_css "img.admin-avatar"
end

Expand Down

0 comments on commit fe55c0b

Please sign in to comment.