Skip to content

Instantly share code, notes, and snippets.

@tisba tisba/gist:7098061
Created Oct 22, 2013

Embed
What would you like to do?
/Users/basti/.rvm/rubies/ruby-2.0.0-p247/bin/ruby -S rspec spec/unit/api_spec.rb spec/unit/callbacks_spec.rb spec/unit/complex_example_spec.rb spec/unit/event_spec.rb spec/unit/initial_state_spec.rb spec/unit/inspection_spec.rb spec/unit/localizer_spec.rb spec/unit/memory_leak_spec.rb spec/unit/new_dsl_spec.rb spec/unit/persistence/active_record_persistence_spec.rb spec/unit/persistence/mongoid_persistance_spec.rb spec/unit/simple_example_spec.rb spec/unit/state_spec.rb spec/unit/subclassing_spec.rb spec/unit/transition_spec.rb
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
-- create_table("gates", {:force=>true})
-> 0.0091s
-- create_table("readers", {:force=>true})
-> 0.0022s
-- create_table("writers", {:force=>true})
-> 0.0022s
-- create_table("transients", {:force=>true})
-> 0.0022s
-- create_table("simples", {:force=>true})
-> 0.0022s
-- create_table("simple_new_dsls", {:force=>true})
-> 0.0023s
-- create_table("no_scopes", {:force=>true})
-> 0.0021s
-- create_table("thieves", {:force=>true})
-> 0.0022s
-- create_table("localizer_test_models", {:force=>true})
-> 0.0022s
-- create_table("persisted_states", {:force=>true})
-> 0.0023s
-- create_table("provided_and_persisted_states", {:force=>true})
-> 0.0022s
-- create_table("validators", {:force=>true})
-> 0.0022s
-- create_table("transactors", {:force=>true})
-> 0.0020s
-- create_table("workers", {:force=>true})
-> 0.0023s
-- create_table("invalid_persistors", {:force=>true})
-> 0.0020s
-- create_table("fathers", {:force=>true})
-> 0.0023s
-- initialize_schema_migrations_table()
-> 0.0002s
-- assume_migrated_upto_version(0, ["db/migrate"])
-> 0.0003s
-- create_table("gates", {:force=>true})
-> 0.0035s
-- create_table("readers", {:force=>true})
-> 0.0021s
-- create_table("writers", {:force=>true})
-> 0.0021s
-- create_table("transients", {:force=>true})
-> 0.0019s
-- create_table("simples", {:force=>true})
-> 0.0023s
-- create_table("simple_new_dsls", {:force=>true})
-> 0.0021s
-- create_table("no_scopes", {:force=>true})
-> 0.0022s
-- create_table("thieves", {:force=>true})
-> 0.0021s
-- create_table("localizer_test_models", {:force=>true})
-> 0.0021s
-- create_table("persisted_states", {:force=>true})
-> 0.0022s
-- create_table("provided_and_persisted_states", {:force=>true})
-> 0.0021s
-- create_table("validators", {:force=>true})
-> 0.0023s
-- create_table("transactors", {:force=>true})
-> 0.0023s
-- create_table("workers", {:force=>true})
-> 0.0022s
-- create_table("invalid_persistors", {:force=>true})
-> 0.0022s
-- create_table("fathers", {:force=>true})
-> 0.0021s
-- initialize_schema_migrations_table()
-> 0.0002s
-- assume_migrated_upto_version(0, ["db/migrate"])
-> 0.0002s
..............DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/callbacks_spec.rb:54:in `block (3 levels) in <top (required)>'.
.DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/callbacks_spec.rb:61:in `block (3 levels) in <top (required)>'.
.DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/callbacks_spec.rb:66:in `block (3 levels) in <top (required)>'.
...DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/callbacks_spec.rb:88:in `block (3 levels) in <top (required)>'.
...DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/callbacks_spec.rb:111:in `block (3 levels) in <top (required)>'.
..................DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/event_spec.rb:63:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/event_spec.rb:64:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/event_spec.rb:75:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/event_spec.rb:76:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/event_spec.rb:86:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/event_spec.rb:87:in `block (2 levels) in <top (required)>'.
............................................DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/persistence/active_record_persistence_spec.rb:36:in `block (2 levels) in <top (required)>'.
.DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/persistence/active_record_persistence_spec.rb:42:in `block (2 levels) in <top (required)>'.
..DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/persistence/active_record_persistence_spec.rb:53:in `block (2 levels) in <top (required)>'.
............FF..........................DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/state_spec.rb:41:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/state_spec.rb:50:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/state_spec.rb:59:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/state_spec.rb:71:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/state_spec.rb:82:in `block (2 levels) in <top (required)>'.
...........DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:45:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:46:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:47:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:56:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:57:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:58:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:67:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:68:in `block (2 levels) in <top (required)>'.
DEPRECATION: stub! is deprecated. Use stub instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:69:in `block (2 levels) in <top (required)>'.
..DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:87:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:97:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:107:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:119:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:130:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:143:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:154:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:165:in `block (2 levels) in <top (required)>'.
.DEPRECATION: mock is deprecated. Use double instead. Called from /Users/basti/Documents/src/aasm/spec/unit/transition_spec.rb:180:in `block (2 levels) in <top (required)>'.
.
Failures:
1) transitions with persistence should not store states for invalid models
Failure/Error: validator.run!.should be_true
expected: true value
got: nil
# ./spec/unit/persistence/active_record_persistence_spec.rb:152:in `block (2 levels) in <top (required)>'
2) transitions with persistence should store states for invalid models if configured
Failure/Error: persistor.run!.should be_true
expected: true value
got: nil
# ./spec/unit/persistence/active_record_persistence_spec.rb:167:in `block (2 levels) in <top (required)>'
Finished in 0.87335 seconds
157 examples, 2 failures
Failed examples:
rspec ./spec/unit/persistence/active_record_persistence_spec.rb:136 # transitions with persistence should not store states for invalid models
rspec ./spec/unit/persistence/active_record_persistence_spec.rb:160 # transitions with persistence should store states for invalid models if configured
[Coveralls] Outside the Travis environment, not sending data.
/Users/basti/.rvm/rubies/ruby-2.0.0-p247/bin/ruby -S rspec spec/unit/api_spec.rb spec/unit/callbacks_spec.rb spec/unit/complex_example_spec.rb spec/unit/event_spec.rb spec/unit/initial_state_spec.rb spec/unit/inspection_spec.rb spec/unit/localizer_spec.rb spec/unit/memory_leak_spec.rb spec/unit/new_dsl_spec.rb spec/unit/persistence/active_record_persistence_spec.rb spec/unit/persistence/mongoid_persistance_spec.rb spec/unit/simple_example_spec.rb spec/unit/state_spec.rb spec/unit/subclassing_spec.rb spec/unit/transition_spec.rb failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.