Permalink
Browse files

Update Rspec to RSpec

  • Loading branch information...
1 parent 4c6038e commit 9eb2eeb41fdd7fa67385a45ef86876e11afc568f Ben Marini committed May 25, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/spec_helper.rb
View
@@ -113,15 +113,15 @@ def mock_action_view(assigns = {})
# test for the presence of an asset file
ENV["RAILS_ASSET_ID"] = ''
-Rspec.configure do |config|
+RSpec.configure do |config|
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
end
# Ensure this is defined for Ruby 1.8
module MiniTest; class Assertion < Exception; end; end
-Rspec::Matchers.define :have_tag do |*args|
+RSpec::Matchers.define :have_tag do |*args|
match_unless_raises Test::Unit::AssertionFailedError do |response|
tag = args.shift

0 comments on commit 9eb2eeb

Please sign in to comment.