require 'spec_helper'

describe 'A Secure Rails API endpoint' do
  let(:params) {}
  let(:headers) {}

  describe 'GET articles index' do
    subject(:api_call) { get '/rails_api/articles', params, headers }

    it_should_behave_like 'a warden authenticatable api'
    it_should_behave_like 'a token authenticatable api'
  end
end

require 'spec_helper'

describe 'A Secure Rails API endpoint' do
  let(:params) {}
  let(:headers) {}

  describe 'GET request' do
    before { pending }

    subject(:api_call) { get '/rails_api/articles', params, headers }

    it_should_behave_like 'a warden authenticatable api'
    it_should_behave_like 'a token authenticatable api'
  end
end

Mark rails API specs as pending
Mark rails API specs as pending
