Sha256: 19c61e5e351bc37cd25b42e34fb3516d2a0e198a3d74e7f2df7b226aa2b2e6bb
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
# This file is copied to ~/spec when you run 'ruby script/generate rspec' # from the project root directory. ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'spec' require 'spec/rails' def revert_changes!(file,content) File.open(file,'w'){|might_have_been_modified| might_have_been_modified.write content } end module Spec module Matchers class Change alias_method :evaluate_value_proc, :evaluate_value_proc_without_ensured_evaluation_of_proxy end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
picolena-0.2.0 | lib/picolena/templates/spec/spec_helper.rb |