Sha256: aab597c612bb4f1ccbb9580c7e5099b5031f523d866fdfb91132d45c42fd5dab

Contents?: true

Size: 457 Bytes

Versions: 4

Compression:

Stored size: 457 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "ActiverecordSnapshotView" do
  describe "prepare_to_migrate" do
    describe "class from symbol" do
      it "should return a class given a symbol" do
        ActiveRecord::SnapshotView.class_from_symbol(:object).should == Object
        ActiveRecord::SnapshotView.class_from_symbol(:"active_record/snapshot_view").should == ActiveRecord::SnapshotView
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord_snapshot_view-0.11.8 spec/activerecord_snapshot_view_spec.rb
activerecord_snapshot_view-0.11.7 spec/activerecord_snapshot_view_spec.rb
activerecord_snapshot_view-0.11.6 spec/activerecord_snapshot_view_spec.rb
activerecord_snapshot_view-0.11.5 spec/activerecord_snapshot_view_spec.rb