Permalink
Browse files

Remove unused gem

  • Loading branch information...
1 parent b357fc2 commit f01024af82c7aaa3e89ae4e9bc2206bd756f2945 @bogdan committed Nov 29, 2012
Showing with 5 additions and 7 deletions.
  1. +0 −1 Gemfile
  2. +5 −5 spec/datagrid/ordering_spec.rb
  3. +0 −1 spec/spec_helper.rb
View
@@ -13,7 +13,6 @@ group :development do
gem "debugger", :platform => "ruby_19"
gem "rspec"
- gem "accept_values_for"
gem "nokogiri" # used to test html output
gem "sqlite3-ruby"
@@ -14,7 +14,7 @@
Entry
end
column :name
- end.assets.should discover(first, second, third).with_exact_order
+ end.assets.should == [first, second, third]
end
@@ -24,7 +24,7 @@
Entry
end
column :name
- end.assets.should discover(third, second, first).with_exact_order
+ end.assets.should == [third, second, first]
end
@@ -48,21 +48,21 @@
test_report(:order => :name) do
scope { Entry.order("name desc")}
column(:name, :order => "name asc")
- end.assets.should discover(first, second, third).with_exact_order
+ end.assets.should == [first, second, third]
end
it "should support order given as block" do
test_report(:order => :name) do
scope { Entry }
column(:name, :order => proc { order("name desc") })
- end.assets.should discover(third, second, first).with_exact_order
+ end.assets.should == [third, second, first]
end
it "should support order desc given as block" do
test_report(:order => :name, :descending => true) do
scope { Entry }
column(:name, :order_desc => proc { order("name desc")})
- end.assets.should discover(third, second, first).with_exact_order
+ end.assets.should == [third, second, first]
end
View
@@ -17,7 +17,6 @@
require "mongoid"
require "mongo_mapper"
require 'datagrid'
-require "discover"
begin
require 'ruby-debug'
rescue LoadError

0 comments on commit f01024a

Please sign in to comment.