Sha256: 55f387f3d03a64bbb34f7540256d86af0a73432fe52ee49a63c7ab23e0976fbe
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe RedisWebManager::ApplicationHelper, type: :helper do describe 'helper' do it 'returns a no expiration' do expect(helper.expire(-1)).to eql('No expiration date') end it 'returns a expiration' do expect(helper.expire(86_400)).to eql('1 day') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_web_manager-0.1.6 | spec/helpers/application_helper_spec.rb |