Sha256: 9f8a120a391d12042777b6fd07b035d123f93fa7023a42e00ab713480ea66917
Contents?: true
Size: 344 Bytes
Versions: 3
Compression:
Stored size: 344 Bytes
Contents
require 'rspec/matchers' module Rspec module Rails module Matchers def redirect_to(destination) example = self Rspec::Matchers::Matcher.new :redirect_to, destination do |destination_| match do |_| example.assert_redirected_to destination_ end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rspec-rails-2.0.0.a5 | lib/rspec/rails/matchers.rb |
rspec-rails-2.0.0.a4 | lib/rspec/rails/matchers.rb |
rspec-rails-2.0.0.a3 | lib/rspec/rails/matchers.rb |