Sha256: 061d2ebf12f22d6edaac48fbffc426c320b371c08566532cbbd6e5b8c40982b6

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

describe "DataMapper.auto_migrate!" do

  it "should allow to automigrate the resource to be translated" do
    lambda { Item.auto_migrate! }.should_not raise_error
  end

  it "should allow to automigrate the resource where translations will be stored" do
    lambda { ItemTranslation.auto_migrate! }.should_not raise_error
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-is-localizable-1.0.0 spec/unit/auto_migrate_spec.rb
dm-is-localizable-0.10.1 spec/unit/auto_migrate_spec.rb