spec/helpers_spec.rb in magic_grid-0.10.3 vs spec/helpers_spec.rb in magic_grid-0.10.4
- old
+ new
@@ -18,9 +18,10 @@
v.stub(:render) { nil }
v.stub(:params) { {} }
v.stub(:request) { request }
}
}
+ let(:view_renderer) { controller }
describe "#normalize_magic" do
it "should turn an array into a MagicGrid::Definition" do
expect(normalize_magic([])).to be_a(MagicGrid::Definition)