describe :items_controller do
let :app do
App
end
let :controller do
Item.new
end
describe :index do
context :with_valid_auth_token do
it 'lists items' do
response = controller.send(:index)
response.should be_success
end
end
end
end
--
You received this message because you are subscribed to the Google Groups "Espresso Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to espresso-framew...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.