Sha256: 2548a3a190ebe03eb69fee1ad294e9e604fcd09d91ee2e35920cff0f08d83864
Contents?: true
Size: 506 Bytes
Versions: 2
Compression:
Stored size: 506 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' 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.1.1 | spec/spec_helper.rb |
simple_pages-0.1.0 | spec/spec_helper.rb |