Skip to content

Commit

Permalink
autotest now working due to a workaround of weird bug; see http://git…
Browse files Browse the repository at this point in the history
  • Loading branch information
armandofox committed Jul 2, 2014
1 parent 3ee5795 commit 38cc8f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--color --format nested --backtrace
--color --format nested
7 changes: 4 additions & 3 deletions spec/models/waiting_room_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
[
[ "12:01:00 pm", 5, 4.minutes ],
].each do |test_case|
time_now = test_case[0]
time_now = Time.parse(test_case[0])
starts_every = test_case[1]
time_to_go = test_case[2]
#test_case_name = "to #{Time.at(time_to_go).strftime('%M:%S')} if it's #{time_now.strftime('%I:%M:%S')} and start every #{starts_every}"
test_case_name = "to #{Time.at(time_to_go).strftime('%M:%S')} if it's #{time_now.strftime('%I:%M:%S')} and start every #{starts_every}"
test_case_name = "#{time_now} start every #{starts_every}"
specify test_case_name do
flunk
@t.activity_schema.update_attribute(:starts_every, starts_every)
WaitingRoom.add(@t).should == time_to_go
end
end
end
Expand Down

0 comments on commit 38cc8f5

Please sign in to comment.