Commit Graph

19 Commits

Author SHA1 Message Date
Jared Beck e91804afb7 Rename Request#enabled_for_controller= to #enabled= 2018-03-23 21:58:45 -04:00
Jared Beck c659b1faf0 A new API for request variables 2018-02-27 00:14:33 -05:00
Jared Beck cfbf7a647c Lint: Style/FrozenStringLiteralComment 2017-12-10 23:05:39 -05:00
Jared Beck 38fa23873c Merge rails_helper into spec_helper
The reason some projects have both is so that some spec files can be
run in isolation, without the rails stuff. In practice, I don't find
myself ever doing this. So, the complexity of two files is unnecessary.
2017-05-30 00:59:55 -04:00
Jared Beck c4148de9d0 Configure RSpec
Enable various standard configuration.
2017-05-21 02:04:28 -04:00
Jared Beck 0b016be756 Lint: Fix RSpec/NotToNot 2017-04-01 01:59:47 -04:00
Jared Beck af10cd4f00 Lint: Fix RSpec/ExampleWording 2017-04-01 01:50:13 -04:00
Jared Beck 8980f08d0e Fix Style/StringLiterals: Use double quotes 2016-03-05 17:07:32 -05:00
Jared Beck 10941c8459 Fix Style/HashSyntax 2016-02-15 22:32:40 -05:00
Jared Beck d86e6ec64c Break long lines in `spec` dir 2016-02-15 18:27:57 -05:00
Owen Rodda b9d9fb2e7c Update PaperTrail and test suite for ActiveRecord 5 compatibility 2016-01-24 19:57:10 -05:00
Jared Beck 86f8c5dd33 ffaker 2.1 (was 1.31) 2015-12-19 19:02:31 -05:00
Ben Atkins e28d29ef0f Utilize RequestStore for thread-safe PaperTrail#paper_trail_store object 2015-02-09 23:32:54 -05:00
Ben Atkins 1b1e74dab5 Basic version comparisons for RUBY_VERSION can be done using Strings
As opposed to unnecessarily casting the RUBY_VERSION to a Float
2015-01-14 14:09:30 -05:00
Ben Atkins 716c3e0fb5 Use RSpec 3 for testing; Update syntax in spec suite for RSpec 3 2014-10-09 15:04:17 -04:00
Ben Atkins 0b2433667c Skip current_user test in Ruby18 due to pesky :id method 2014-03-20 16:54:57 -04:00
Ben Atkins a0b93aba5f close #346; cleanup code for 'user_for_paper_trail' default methods, add automated test coverage for various return values 2014-03-20 16:04:53 -04:00
Ben Atkins 59743fa25b Typo fix in spec descritpion on articles_spec [ci skip] 2014-03-03 16:53:02 -05:00
Ben Atkins 6a6e4d1473 Fixing state leak issue for :enabled_for_controller? method with RSpec and Cucumber helpers. close #293 2013-11-16 18:59:22 -05:00