Merge pull request #31 from rcarver/jasmine-1-1

Jasmine 1.1 compatibility
This commit is contained in:
John Bintz 2011-06-30 14:42:54 -07:00
commit 6454c329fa
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency 'jasmine'
s.add_dependency 'jasmine', '~>1.1.beta'
s.add_dependency 'coffee-script', '>= 2.2'
s.add_dependency 'rainbow'
end

View File

@ -14,8 +14,8 @@ module Jasmine
attr_reader :files, :filtered_files, :spec_outside_scope
DEFAULT_FILES = [
File.join(Jasmine.root, "lib/jasmine.js"),
File.join(Jasmine.root, "lib/jasmine-html.js"),
File.join(Jasmine::Core.path, "jasmine.js"),
File.join(Jasmine::Core.path, "jasmine-html.js"),
File.expand_path('../../../jasmine/jasmine.headless-reporter.js', __FILE__)
]

View File

@ -9,8 +9,8 @@ describe Jasmine::FilesList do
describe '#initialize' do
it "should have default files" do
files_list.files.should == [
File.join(Jasmine.root, "lib/jasmine.js"),
File.join(Jasmine.root, "lib/jasmine-html.js"),
File.join(Jasmine::Core.path, "jasmine.js"),
File.join(Jasmine::Core.path, "jasmine-html.js"),
File.expand_path('jasmine/jasmine.headless-reporter.js')
]
end