1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
Commit graph

11 commits

Author SHA1 Message Date
Guillaume Hain
27b73c0632
Add support for Nobrainer (RethinkDB)
* Add persistence for NoBrainer
* Add tests for NoBrainer
* Show the ORM version when running the tests
* Add a Dockerfile and a docker-compose.yml file allowing to run from anywhere very easily the test suite with `docker-compose run --rm aasm\'
* Moves the Mongoid database name definition in the gem loader (avoiding code repetition)
* Update the CHANGELOG.md and the README.md files
* Add Rails generator for NoBrainer
2018-01-22 08:24:35 +01:00
anilmaurya
3f3b3f56a1 Move Gaurd args rspec to simple_example_with_guard_args.rb 2017-11-20 12:08:49 +05:30
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