Sha256: 6924593d50bb2f46bfc1148ad04fd6c1cfceffaceb7f6e62dbb9c31c8153c0cb

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Import::NoRelation do
  it "should" do
    2.times do
      import = Import::NoRelation.new(:resource_class => Music::Artist, :input => 'Böhse Onkelz')
      
      import.save
      
      import.process
      
      Music::Artist.last.name.should == 'Böhse Onkelz'
    end
    
    Music::Artist.count == 1
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
import-0.0.3 spec/models/no_relation_spec.rb