Supplier with specced time zone and night offset support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user