Is the 'Travel' time helper not available in feature specs?
In order to use these helpers you have to include them into your tests.
You can do this by either including it into single test suite:
describe MyClass do
include ActiveSupport::Testing::TimeHelpers
end
or globally:
RSpec.configure do |config|
config.include ActiveSupport::Testing::TimeHelpers
end
Following on @andrey-deineko...
I created a file time_helpers.rb
under spec\support
as follows:
RSpec.configure do |config|
config.include ActiveSupport::Testing::TimeHelpers
end