Skip to content

Commit

Permalink
Fix the tests I broke
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed Jan 29, 2014
1 parent 9783bd0 commit d0a2f12
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions spec/active_interaction/integration/time_interaction_spec.rb
Expand Up @@ -24,16 +24,13 @@ def ==(other)
end
end

TimeInteraction = Class.new(TestInteraction) do
time :a
end

describe TimeInteraction do
describe 'TimeInteraction' do
include_context 'interactions'
it_behaves_like 'an interaction', :time, -> { Time.now }

context 'with a time zone' do
let(:a) { nil }
let(:described_class) { Class.new(TestInteraction) { time :a } }

before do
inputs.merge!(a: a)
Expand Down

0 comments on commit d0a2f12

Please sign in to comment.