Sha256: 8a005c41b70062727952ff8b7fe09d73d7f6659d8a5ec88af3c8b49b41edad33

Contents?: true

Size: 280 Bytes

Versions: 8

Compression:

Stored size: 280 Bytes

Contents

require 'helper'
require 'cassanity/migration'

describe Cassanity::Migration do
  describe "#initialize" do
    it "sets migrator" do
      migrator = double('Migrator')
      instance = described_class.new(migrator)
      instance.migrator.should be(migrator)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cassanity-0.6.0 spec/unit/cassanity/migration_spec.rb
cassanity-0.6.0.beta5 spec/unit/cassanity/migration_spec.rb
cassanity-0.6.0.beta4 spec/unit/cassanity/migration_spec.rb
cassanity-0.6.0.beta3 spec/unit/cassanity/migration_spec.rb
cassanity-0.6.0.beta2 spec/unit/cassanity/migration_spec.rb
cassanity-0.6.0.beta1 spec/unit/cassanity/migration_spec.rb
cassanity-0.5.1 spec/unit/cassanity/migration_spec.rb
cassanity-0.5.0 spec/unit/cassanity/migration_spec.rb