Skip to content

Commit

Permalink
update tests to use csl stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Apr 27, 2013
1 parent a71fa3b commit 621d8e0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 26 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source :rubygems
source 'https://rubygems.org'

gem 'rake'
gem 'rspec'
gem 'fuubar'
gem 'nokogiri'
gem 'csl', '1.0.0.pre10'
gem 'csl', '~>1.0'
40 changes: 20 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
GEM
remote: http://rubygems.org/
remote: https://rubygems.org/
specs:
csl (1.0.0.pre10)
namae (~> 0.3)
diff-lcs (1.1.3)
fuubar (1.0.0)
csl (1.0.1)
namae (~> 0.7)
diff-lcs (1.2.4)
fuubar (1.1.0)
rspec (~> 2.0)
rspec-instafail (~> 0.2.0)
ruby-progressbar (~> 0.0.10)
namae (0.3.0)
nokogiri (1.5.5)
nokogiri (1.5.5-x86-mingw32)
rake (0.9.2.2)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.3)
diff-lcs (~> 1.1.3)
ruby-progressbar (~> 1.0.0)
namae (0.7.1)
nokogiri (1.5.9)
nokogiri (1.5.9-x86-mingw32)
rake (10.0.4)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-instafail (0.2.4)
rspec-mocks (2.11.2)
ruby-progressbar (0.0.10)
rspec-mocks (2.13.1)
ruby-progressbar (1.0.2)

PLATFORMS
ruby
x86-mingw32

DEPENDENCIES
csl (= 1.0.0.pre10)
csl (~> 1.0)
fuubar
nokogiri
rake
Expand Down
5 changes: 1 addition & 4 deletions spec/locales_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
end

it "is licensed under a CC BY-SA license" do
locale.info.rights.to_s.strip.should ==
'This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License'

locale.info.rights[:license].should == 'http://creativecommons.org/licenses/by-sa/3.0/'
locale.info.should be_default_license
end
end

Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def load_locale(path)
[id, [filename, path, locale]]
end

CSL::Schema.default_license = 'http://creativecommons.org/licenses/by-sa/3.0/'
CSL::Schema.default_rights_string =
'This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License'


print "\nLoading locales"

Expand Down

0 comments on commit 621d8e0

Please sign in to comment.