Version 1
[yaffs-website] / vendor / twbs / bootstrap-sass / test / pages_test.rb
diff --git a/vendor/twbs/bootstrap-sass/test/pages_test.rb b/vendor/twbs/bootstrap-sass/test/pages_test.rb
new file mode 100644 (file)
index 0000000..b86c7ed
--- /dev/null
@@ -0,0 +1,14 @@
+require 'test_helper_rails'
+
+class PagesTest < ActionDispatch::IntegrationTest
+  include ::DummyRailsIntegration
+
+  def test_visit_root
+    visit root_path
+    # ^ will raise on JS errors
+
+    assert_equal 200, page.status_code
+
+    screenshot!
+  end
+end