Skip to content

Instantly share code, notes, and snippets.

@willrjmarshall
Created September 26, 2011 06:16
Show Gist options
  • Select an option

  • Save willrjmarshall/1241708 to your computer and use it in GitHub Desktop.

Select an option

Save willrjmarshall/1241708 to your computer and use it in GitHub Desktop.
require 'spec_helper'
require 'ruby-debug'
describe BroadcastsController do
before :each do
@user = User.make!
sign_in :user, @user
end
it "should render edit" do
b = Broadcast.make!(:user => @user)
Broadcast.last.should == b
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment