mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-06 07:31:04 -05:00
12 lines
257 B
Ruby
12 lines
257 B
Ruby
require 'spec_helper'
|
|
|
|
describe SeedsController do
|
|
describe "GET index" do
|
|
it "picks up owner from params" do
|
|
owner = FactoryGirl.create(:member)
|
|
get :index, {:owner_id => owner.id}
|
|
assigns(:owner).should eq(owner)
|
|
end
|
|
end
|
|
end
|