Sha256: 2887e12b04f1e2724074a147dff988879f2329e6f9873305c49a2c000a4f155e
Contents?: true
Size: 531 Bytes
Versions: 2
Compression:
Stored size: 531 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! require 'rspec' require 'rspec/rails' require 'rr' require 'capybara/rspec' RSpec::Matchers.define :be_not_found do match do |actual| actual.code == "404" end failure_message_for_should do |actual| "Expected #{actual.class} page to be not found but the status was #{actual.code}" end end RSpec.configure do |config| config.mock_with :rr end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_pages-0.2.1 | spec/spec_helper.rb |
simple_pages-0.2.0 | spec/spec_helper.rb |