diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-11 11:25:11 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-11 11:25:11 +0300 |
commit | b8ba0b759cd474c7097078057cad40fb8922f4e0 (patch) | |
tree | c7f3c8ef73783ff49387ddae32add7c9f89ef26f /features | |
parent | 630c547dbdfd688da4efced9428779f228242ef2 (diff) | |
download | gitlab-ce-b8ba0b759cd474c7097078057cad40fb8922f4e0.tar.gz |
disable capybra 2.1 ingore hidden elements
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_team_management.rb | 10 | ||||
-rw-r--r-- | features/support/env.rb | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/features/steps/project/project_team_management.rb b/features/steps/project/project_team_management.rb index e8e054350dd..96bf0df2899 100644 --- a/features/steps/project/project_team_management.rb +++ b/features/steps/project/project_team_management.rb @@ -24,7 +24,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps select2(user.id, from: "#user_ids", multiple: true) within "#new_team_member" do - select "Reporter", :from => "project_access" + select "Reporter", from: "project_access" end click_button "Add users" end @@ -44,7 +44,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps And 'I change "Sam" role to "Reporter"' do user = User.find_by_name("Sam") within ".user_#{user.id}" do - select "Reporter", :from => "team_member_project_access" + select "Reporter", from: "team_member_project_access" end end @@ -65,11 +65,11 @@ class ProjectTeamManagement < Spinach::FeatureSteps end And 'gitlab user "Mike"' do - create(:user, :name => "Mike") + create(:user, name: "Mike") end And 'gitlab user "Sam"' do - create(:user, :name => "Sam") + create(:user, name: "Sam") end And '"Sam" is "Shop" developer' do @@ -79,7 +79,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps end Given 'I own project "Website"' do - @project = create(:project, :name => "Website") + @project = create(:project, name: "Website") @project.team << [@user, :master] end diff --git a/features/support/env.rb b/features/support/env.rb index 08b627f57b7..7c8a4aa9373 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -30,7 +30,7 @@ Spinach.hooks.on_tag("javascript") do ::Capybara.current_driver = ::Capybara.javascript_driver end Capybara.default_wait_time = 10 - +Capybara.ignore_hidden_elements = false DatabaseCleaner.strategy = :truncation |