Supplier with specced time zone and night offset support

This commit is contained in:
2014-01-14 17:33:58 -03:00
parent c6f0976d11
commit 6c00604b83
13 changed files with 5972 additions and 3897 deletions
@@ -39,3 +39,12 @@ step "the supplier email is the new email and the unconfirmed email is empty" do
@supplier.email.should == 'new-supplier-mail@qwaiter.com'
@supplier.unconfirmed_email.should be_blank
end
step "the supplier selects :time_zone as Time Zone" do |visual_time_zone|
page.select visual_time_zone, from: 'supplier_time_zone'
end
step "the supplier timezone should be :time_zone" do |time_zone|
@supplier.reload
@supplier.time_zone.should == time_zone
end