Commit 7ad76c21b8c2a67d379db9f8e592f6a27013dd1a

Authored by Diego Camarinha
Committed by Rafael Manzo
1 parent ecd1b5dc

WIP: Adapting acceptance tests to KalibroClient.

Signed off by: Daniel Alves <danpaulalves@gmail.com>
Gemfile.lock
1 1 GIT
2 2 remote: https://github.com/mezuro/kalibro_client
3   - revision: 434108322137611d54314ffb16206fe05c0dac08
  3 + revision: a4cbc5b350e5a4ea0b5abe6e2ec53008474df161
4 4 specs:
5 5 kalibro_client (0.0.1)
6 6 activeresource (~> 4.0.0)
... ...
features/step_definitions/project_steps.rb
1   -require 'kalibro_gatekeeper_client/errors'
  1 +require 'kalibro_client/errors'
2 2  
3 3 Given(/^I am at the All Projects page$/) do
4 4 visit projects_path
... ...
features/step_definitions/reading_group_steps.rb
1   -require 'kalibro_gatekeeper_client/errors'
  1 +require 'kalibro_client/errors'
2 2  
3 3 Given(/^I am at the All Reading Groups page$/) do
4 4 visit reading_groups_path
... ...
features/support/env.rb
... ... @@ -77,11 +77,8 @@ end
77 77 # See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
78 78 Cucumber::Rails::Database.javascript_strategy = :truncation
79 79  
80   -# KalibroGatekeeper hooks
81   -require 'kalibro_gatekeeper_client/kalibro_cucumber_helpers/hooks.rb'
82   -
83   -# Configuring the right hooks
84   -KalibroGatekeeperClient::KalibroCucumberHelpers.configure_from_yml("#{__dir__}/kalibro_cucumber_helpers.yml")
  80 +# KalibroClient hooks
  81 +require 'kalibro_client/kalibro_cucumber_helpers/hooks.rb'
85 82  
86 83 # Warden test helpers so the user authentication can be as fast as possible
87 84 include Warden::Test::Helpers
... ...