Commit Graph

9 Commits

Author SHA1 Message Date
Farrukh b9c9a4e738 Support Minitest spec expectations (#387)
*  must_allow_event

* must_allow_transition_to

* must_have_state

* must_transition_to

* minitest assertions
2017-04-03 12:25:59 +05:30
Thorsten Böttger 31258e7636 unified test and spec (using spec only now) 2011-10-15 17:32:28 +02:00
Thorsten Böttger 192fc96ffa got tests and specs running after pull request merge 2011-09-08 19:20:48 +02:00
Thorsten Böttger 6bc99dcc39 Merge branch 'master' of https://github.com/wickkidd/aasm into wickkidd-master
Conflicts:
	Rakefile
	spec/spec_helper.rb
2011-09-08 19:09:16 +02:00
Thorsten Böttger a6f77b5fa4 avoiding memory leak in Rails 3 development mode (where cache_classes == false); drawback is, that now the state machine won't be re-declared on each request; thus, changes in the state machine will force you to restart the Rails server (but this still is better than the memory leak) 2011-04-01 09:22:54 +02:00
Konstantin Shabanov df39cc6506 update to use bundler to check dependencies and to use RSpec2 2011-01-13 13:58:20 +06:00
Brian Kidd 67cd00cfbf -refactored _execute() for much better readability :-)
-added dependency for for ruby-debug-completion

-turned on auto-eval for ruby-debug

-added the ability to run debugger on the last line of a method: http://dancingpenguinsoflight.com/2009/09/an-improved-ruby-debugger-invocation/
2010-10-08 14:58:11 -04:00
bokmann c92e8fee18 tests the new 'may' functionality 2010-10-05 12:17:40 -04:00
Travis Tilley dc002d4684 cleanup, some refactoring, additional tests (one modeled after a common use of AASM, from restful authentication), fire callbacks on entering initial state, whitespace 2009-10-19 14:38:59 -04:00