Skip to content

Commit

Permalink
Removing rails integration testing stuff, since with capybara and rac…
Browse files Browse the repository at this point in the history
…k-test, it's no longer needed
  • Loading branch information
cavalle committed May 30, 2010
1 parent 33eef33 commit 9869231
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions lib/steak.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,4 @@ class << self

module Rspec::Core::ObjectExtensions
alias feature describe
end

if defined?(Rspec::Rails)

module Rspec::Rails::Example
module AcceptanceExampleGroup
def method_missing(sym, *args, &block)
return Rspec::Matchers::Be.new(sym, *args) if sym.to_s =~ /^be_/
return Rspec::Matchers::Has.new(sym, *args) if sym.to_s =~ /^have_/
super
end

Rspec.configure do |c|
c.include RequestExampleGroupBehaviour, :example_group => { :file_path => /\bspec\/acceptance\// }
c.include self, :example_group => { :file_path => /\bspec\/acceptance\// }
end
end
end

end
end

0 comments on commit 9869231

Please sign in to comment.