Sha256: 925be6eca20f0cce4c456ce6fad24ebf294a613d7463b8d2562d7e933ad7af0a
Contents?: true
Size: 735 Bytes
Versions: 59
Compression:
Stored size: 735 Bytes
Contents
require 'spec_helper' describe Spork::AppFramework::Rails do describe ".deprecated_version" do it "detects the current version of rails" do create_file("config/environment.rb", "RAILS_GEM_VERSION = '2.1.0'") in_current_dir do Spork::AppFramework::Rails.new.deprecated_version.should == "2.1.0" end create_file("config/environment.rb", 'RAILS_GEM_VERSION = "2.1.0"') in_current_dir do Spork::AppFramework::Rails.new.deprecated_version.should == "2.1.0" end create_file("config/environment.rb", 'RAILS_GEM_VERSION = "> 2.1.0"') in_current_dir do Spork::AppFramework::Rails.new.deprecated_version.should == "> 2.1.0" end end end end
Version data entries
59 entries across 59 versions & 3 rubygems