summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-09 00:50:35 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-14 23:10:43 -0400
commit5d0dc0a834292feac57d2497ff3f17990927f427 (patch)
treeb3c7d5cc2cf8c6fea053ae0f11165c3a4d396d7b
parentde1f77fa534ebcd02690de970df312349b6b004a (diff)
downloadgitlab-ce-road-to-rspec-3.tar.gz
Fix failing featuresroad-to-rspec-3
-rw-r--r--features/project/wiki.feature2
-rw-r--r--features/steps/groups.rb2
-rw-r--r--features/steps/project/merge_requests.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/features/project/wiki.feature b/features/project/wiki.feature
index 7a70f348754..2ebfa3c1660 100644
--- a/features/project/wiki.feature
+++ b/features/project/wiki.feature
@@ -69,7 +69,7 @@ Feature: Project Wiki
And I click on the "Pages" button
Then I should see non-escaped link in the pages list
- @javascript @focus
+ @javascript
Scenario: Creating an invalid new page
Given I create a New page with an invalid name
Then I should see an error message
diff --git a/features/steps/groups.rb b/features/steps/groups.rb
index c6c855a7c22..6221163ac54 100644
--- a/features/steps/groups.rb
+++ b/features/steps/groups.rb
@@ -154,7 +154,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
end
step 'I should not see group "Owned" avatar' do
- expect(Group.find_by(name: "Owned").avatar?).to be_false
+ expect(Group.find_by(name: "Owned").avatar?).to eq false
end
step 'I should not see the "Remove avatar" button' do
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb
index 63a0a6e287c..b072fef235e 100644
--- a/features/steps/project/merge_requests.rb
+++ b/features/steps/project/merge_requests.rb
@@ -125,7 +125,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
expect(buttons.count).to eq(2)
buttons.each do |b|
- expect(expect(b['href'])).not_to have_content('json')
+ expect(b['href']).not_to have_content('json')
end
end