Sha256: 1784a8afc4f105ab50e8578e453c009beb7d639540228976275477c78340f220
Contents?: true
Size: 457 Bytes
Versions: 7
Compression:
Stored size: 457 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') #describe "Migration Generator" do #before do #Rails.stub!(:version).and_return("3.0.0") #Dir.mkdir("#{RAILS_ROOT}/db") unless File.exists?("#{RAILS_ROOT}/db") #Dir.mkdir("#{RAILS_ROOT}/db/migrate") unless File.exists?("#{RAILS_ROOT}/db/migrate") #end #it "should generate migration file" do #Dir.glob("#{RAILS_ROOT}/db/migrate/*.rb").should_not be_empty #end #end
Version data entries
7 entries across 7 versions & 1 rubygems