Module: GlobalHelpers
- Defined in:
- lib/testing/helpers/global_helpers.rb
Instance Method Summary collapse
Instance Method Details
#account ⇒ Object
6 7 8 |
# File 'lib/testing/helpers/global_helpers.rb', line 6 def account Account.first || raise("Could not find a site. Maybe you want to set one up in your story background?") end |
#site ⇒ Object
2 3 4 |
# File 'lib/testing/helpers/global_helpers.rb', line 2 def site Site.first || raise("Could not find a site. Maybe you want to set one up in your story background?") end |