marks specs as pending

This commit is contained in:
rgarcia
2016-07-27 13:21:05 +02:00
parent 5ea9f9b00c
commit 93bfd492d4
6 changed files with 9 additions and 9 deletions

View File

@@ -1,13 +1,13 @@
require 'rails_helper'
describe 'HasOrders' do
xdescribe 'HasOrders' do
class FakeController < ActionController::Base; end
controller(FakeController) do
include HasOrders
has_orders ['created_at', 'votes_count', 'flags_count'], only: :index
has_orders ->{ ['votes_count', 'flags_count'] }, only: :new
has_orders -> { ['votes_count', 'flags_count'] }, only: :new
def index
render text: "#{@current_order} (#{@valid_orders.join(' ')})"