This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"<form accept-charset=\"UTF-8\" action=\"/products/1001/discount_rules/1002\" class=\"edit_discount_rule\" id=\"edit_discount_rule_1002\" method=\"post\"><div style=\"margin:0;padding:0;display:inline\"><input name=\"utf8\" type=\"hidden\" value=\"✓\" /><input name=\"_method\" type=\"hidden\" value=\"put\" /></div>\n <div class=\"main_fields\">\n <div class=\"div-td expand-collapse\">\n </div>\n\n <div class=\"div-td booking-date-from\">\n <input data-date-autoclose=\"true\" data-date-format=\"dd/mm/yyyy\" data-date-week-start=\"1\" data-provide=\"datepicker\" id=\"discount_rule_booking_date_from\" name=\"discount_rule[booking_date_from]\" placeholder=\"dd/mm/yyyy\" size=\"30\" type=\"text\" />\n </div>\n\n <div class=\"div-td booking-date-to\">\n <input data-date-autoclose=\"true\" data-date-format=\"dd/mm/yyyy\" data-date-week-start=\"1\" data-provide=\"datepicker\" id=\"discount_rule_booking_date_to\" name=\"discount_rule[booking_date_to]\" placeholder=\"dd/mm/yyyy\" size=\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "published products" do | |
before do | |
days_hash = | |
{ | |
"monday" => true, | |
"tuesday" => true, | |
"wednesday" => true, | |
"thursday" => true, | |
"friday" => true, | |
"saturday" => true, |