Class: Capybara::JavaScriptLint::TestCase
- Inherits:
-
ActionDispatch::IntegrationTest
- Object
- ActionDispatch::IntegrationTest
- Capybara::JavaScriptLint::TestCase
- Includes:
- ActionView::Helpers::JavaScriptHelper
- Defined in:
- lib/capybara/java_script_lint/test_case.rb
Class Method Summary collapse
Class Method Details
.check(path) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/capybara/java_script_lint/test_case.rb', line 9 def self.check(path) = @options || {} source = self.jslint_source test "JSLINT #{path}" do assert_jslint(path, , source) end end |
.options(options) ⇒ Object
17 18 19 |
# File 'lib/capybara/java_script_lint/test_case.rb', line 17 def self.() @options = end |