Skip to content

Commit

Permalink
Update to jasmine 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Grafton committed Oct 28, 2010
1 parent 57a3a81 commit 2ff7709
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions jazz_money.gemspec
Expand Up @@ -15,6 +15,7 @@ Gem::Specification.new do |s|
"lib/jazz_money/jasmine_runner.rb",
]

s.add_dependency 'harmony', '0.5.4'
s.add_dependency 'jasmine', '0.11.1'
s.add_dependency 'harmony', '0.5.6'
s.add_dependency 'jasmine', '1.0.1'
s.add_dependency 'rspec', '1.3.1'
end
4 changes: 2 additions & 2 deletions lib/jazz_money/jasmine_runner.rb
Expand Up @@ -62,10 +62,10 @@ def load_html_fixtures

def load_jasmine
jasmine_gemspecs = Gem.searcher.find_all('jasmine')
correct_jasmine_gemspec = jasmine_gemspecs.detect { |gemspec| gemspec.version.to_s == "0.11.1.0" }
correct_jasmine_gemspec = jasmine_gemspecs.detect { |gemspec| gemspec.version.to_s == "1.0.1" }
jasmine_gem_path = correct_jasmine_gemspec.full_gem_path
jasmine_js_files_path = File.join(jasmine_gem_path, "jasmine", "lib")
['consolex.js', 'jasmine.js'].each do |file|
['jasmine.js'].each do |file|
@page.load(File.join(jasmine_js_files_path, file))
end
end
Expand Down

0 comments on commit 2ff7709

Please sign in to comment.