mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
fixed tests after I18n integration
This commit is contained in:
parent
d92a679def
commit
d8ab2c4063
2 changed files with 1 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
ActiveRecord::Schema.define(:version => 0) do
|
||||
|
||||
%w{gates readers writers transients simples thieves}.each do |table_name|
|
||||
%w{gates readers writers transients simples thieves i18n_test_models}.each do |table_name|
|
||||
create_table table_name, :force => true
|
||||
end
|
||||
|
||||
|
|
|
@ -5,10 +5,6 @@ require 'aasm'
|
|||
require 'rspec'
|
||||
require 'rspec/autorun'
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
||||
end
|
||||
|
||||
def load_schema
|
||||
config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
|
||||
ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
|
||||
|
|
Loading…
Add table
Reference in a new issue