mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-21 07:47:57 -05:00
12 lines
256 B
Ruby
12 lines
256 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 => owner.slug}
|
|
assigns(:owner).should eq(owner)
|
|
end
|
|
end
|
|
end
|