1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Remove additional tests

This commit is contained in:
kbparagua 2014-02-15 19:03:36 +08:00
parent 0a5ccaf8db
commit 5e5f183ebe
4 changed files with 1 additions and 40 deletions

View file

@ -44,8 +44,3 @@ Foos.prototype.otherAction = function(){};
var NotFoos = Paloma.controller('NotAdmin/Foos');
NotFoos.prototype.show = function(){};
NotFoos.prototype.otherAction = function(){};
var Baz = Paloma.controller('Baz');
Baz.prototype.index = function(){};

View file

@ -1,7 +0,0 @@
class BarsController < ApplicationController
def index
render :inline => 'Bars#index', :layout => 'application'
end
end

View file

@ -19,7 +19,4 @@ TestApp::Application.routes.draw do
namespace :admin do
resources :foos
end
resources :bars
end

View file

@ -57,28 +57,4 @@ feature 'executing Paloma controller', :js => true do
end
#
#
# Controller-wide settings
#
#
context 'global controller' do
before do
BarsController.send :js, 'Baz'
end
it 'executes the specified controller' do
visit bars_path
expect(request).to eq({
'controller' => 'Baz',
'action' => 'index',
'params' => {}})
end
end
end