spec/seam/worker_spec.rb in seam-0.0.10 vs spec/seam/worker_spec.rb in seam-0.0.11
- old
+ new
@@ -8,9 +8,17 @@
after do
Timecop.return
end
+ describe "step" do
+ it "should match the name" do
+ worker = Seam::Worker.new
+ worker.handles(:darren)
+ worker.step.must_equal "darren"
+ end
+ end
+
describe "move_to_next_step" do
it "should work" do
flow = Seam::Flow.new
flow.apple
flow.orange