Module: Ichabod::Tests

Extended by:
Tests
Included in:
Tests
Defined in:
lib/ichabod/tests.rb

Instance Method Summary collapse

Instance Method Details

#jasmine(url) ⇒ Object



11
12
13
14
15
16
# File 'lib/ichabod/tests.rb', line 11

def jasmine(url)
  runtime = Ichabod::Runtime.new
  runtime.navigate(url)
  runtime.eval_file "./jasmine"
  runtime.run
end

#qunit(url) ⇒ Object



4
5
6
7
8
9
# File 'lib/ichabod/tests.rb', line 4

def qunit(url)
  runtime = Ichabod::Runtime.new
  runtime.navigate(url)
  runtime.eval_file "./qunit"
  runtime.run
end