Method: Pebblebed::RSpecHelper#another_identity
- Defined in:
- lib/pebblebed/rspec_helper.rb
#another_identity ⇒ Object
23 24 25 26 |
# File 'lib/pebblebed/rspec_helper.rb', line 23 def another_identity id = current_identity ? (current_identity.id + 1) : 1 DeepStruct.wrap(deep_stringify_keys({:id => id, :god => false}.merge())) end |