Navigation Menu

Skip to content

Commit

Permalink
removing test that broke in rails 3.1 and I used just to show that it…
Browse files Browse the repository at this point in the history
… worked on jruby AND mri on rails 3.0.10
  • Loading branch information
Diego Plentz committed Aug 31, 2011
1 parent 8b3d2d7 commit 2d04285
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
14 changes: 14 additions & 0 deletions Gemfile.lock
@@ -1,3 +1,13 @@
GIT
remote: git://github.com/nicksieger/activerecord-jdbc-adapter.git
revision: 9a34f861abc42d0d3ae3a6d699d5614253421f9e
specs:
activerecord-jdbc-adapter (1.2.0)
activerecord-jdbcsqlite3-adapter (1.2.0)
activerecord-jdbc-adapter (~> 1.2.0)
jdbc-sqlite3 (~> 3.7.2)
jdbc-sqlite3 (3.7.2)

GEM
remote: http://rubygems.org/
specs:
Expand Down Expand Up @@ -32,6 +42,7 @@ GEM
multi_json (~> 1.0)
arel (2.2.1)
bcrypt-ruby (3.0.0)
bcrypt-ruby (3.0.0-java)
builder (3.0.0)
diff-lcs (1.1.3)
erubis (2.7.0)
Expand Down Expand Up @@ -98,9 +109,12 @@ GEM
tzinfo (0.3.29)

PLATFORMS
java
ruby

DEPENDENCIES
activerecord-jdbc-adapter!
activerecord-jdbcsqlite3-adapter
rails (= 3.1.0)
rspec-rails
sqlite3-ruby
5 changes: 0 additions & 5 deletions spec/models/foo_spec.rb
Expand Up @@ -12,9 +12,4 @@
it "should decode json even with special chars" do
ActiveSupport::JSON.decode({:message => "á"}.to_json)['message'].should eq "á"
end

# works on jruby 1.9 rails 3.0.10, fails in mri 1.9.2 rails 3.1
it "should decode json even with special chars - this one works" do
ActiveSupport::JSON.decode("á".to_json).should eq "á"
end
end

0 comments on commit 2d04285

Please sign in to comment.