Skip to content

Commit

Permalink
compatible for capybara-2.0.0 later.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 26, 2012
1 parent 0eaa5cb commit 2990a10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
require 'bundler/setup'
Bundler.require

require 'capybara/rspec'
require 'database_cleaner'

# Simulate a gem providing a subclass of ActiveRecord::Base before the Railtie is loaded.
Expand Down
2 changes: 0 additions & 2 deletions spec/spec_helper_for_sinatra.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'kaminari/sinatra'
require 'rack/test'
require 'sinatra/test_helpers'
require 'capybara/dsl'
require 'capybara/rspec'

require 'fake_app/sinatra_app'
Expand All @@ -24,7 +23,6 @@ def helper
RSpec.configure do |config|
config.include Rack::Test::Methods
config.include Sinatra::TestHelpers
config.include Capybara::DSL
config.include HelperMethodForHelperSpec
# config.include HelperMethodForHelperSpec, :type => :helper
end
Expand Down

0 comments on commit 2990a10

Please sign in to comment.