Sha256: ab05b22ff138a86bbb030441d99776707d3a62bcc76df8e2f865e86d90525ebe
Contents?: true
Size: 306 Bytes
Versions: 13
Compression:
Stored size: 306 Bytes
Contents
require 'spec_helper' describe AuditRails::AuditsHelper do context 'active_class' do it 'should return "active" when current action is "analytics"' do controller.should_receive(:action_name).and_return('analytics') helper.active_class('analytics').should eq('active') end end end
Version data entries
13 entries across 13 versions & 1 rubygems