Sha256: f0bb43ad4e301ca4c6c872b18e4ec1e0ee65b81726fa65043690f064dca4e7d7

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe "Transactions test" do
  specify "We create some records" do
    3.times do
      create :one_user
      create :user
    end
  end

  specify "All tables must empty" do
    OneUser.count.should == 0
    User.count.should == 0
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_roles-0.0.11 spec/transaction_spec.rb
simple_roles-0.0.10 spec/transaction_spec.rb
simple_roles-0.0.9 spec/transaction_spec.rb
simple_roles-0.0.8 spec/transaction_spec.rb
simple_roles-0.0.7 spec/transaction_spec.rb
simple_roles-0.0.6 spec/transaction_spec.rb