Sha256: de3518e0734f925a90e9f12b25462e69e1a936877c3d33844cf170d980938162
Contents?: true
Size: 1.69 KB
Versions: 3
Compression:
Stored size: 1.69 KB
Contents
require 'test_helper' describe "pickdate integration" do # Javascripts it "provides picker.js on the asset pipeline" do visit '/assets/picker.js' page.text.must_include '!function(a)' end it "provides picker.date.js on the asset pipeline" do visit '/assets/picker.date.js' page.text.must_include '!function(a)' end it "provides picker.time.js on the asset pipeline" do visit '/assets/picker.time.js' page.text.must_include '!function(a)' end it "provides picker.legacy.js on the asset pipeline" do visit '/assets/picker.legacy.js' page.text.must_include '[].map||(Array' end # Stylesheets it "provides picker/classic.css on the asset pipeline" do visit '/assets/picker/classic.css' page.text.must_include '.picker{' end it "provides picker/classic.date.css on the asset pipeline" do visit '/assets/picker/classic.date.css' page.text.must_include '.picker__box{' end it "provides picker/classic.time.css on the asset pipeline" do visit '/assets/picker/classic.time.css' page.text.must_include '.picker__list{' end it "provides picker/default.css on the asset pipeline" do visit '/assets/picker/default.css' page.text.must_include '.picker{' end it "provides picker/default.date.css on the asset pipeline" do visit '/assets/picker/default.date.css' page.text.must_include '.picker__box{' end it "provides picker/default.time.css on the asset pipeline" do visit '/assets/picker/default.time.css' page.text.must_include '.picker__list{' end it "provides picker/rtl.css on the asset pipeline" do visit '/assets/picker/rtl.css' page.text.must_include '.picker{' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pickdate-0.1.1 | test/integration/pickdate_integration_test.rb |
pickdate-0.1.0 | test/integration/pickdate_integration_test.rb |
pickdate-0.0.1 | test/integration/pickdate_integration_test.rb |