Commit d265f0df authored by Nina's avatar Nina
Browse files

Move api daemon related specs to an own folder

parent b2341ba5
require_relative 'api_daemon_spec_helper'
require 'helpers/api_daemon_spec_helper'
describe 'authorization via api' do
it 'allows un-authorized access to /status.json' do
......@@ -16,5 +16,4 @@ describe 'authorization via api' do
get '/status.json'
expect(last_response).to be_ok
end
end
require_relative 'api_daemon_spec_helper'
require 'helpers/api_daemon_spec_helper'
describe 'keys via api' do
......
require_relative 'api_daemon_spec_helper'
require 'helpers/api_daemon_spec_helper'
describe 'lists via api' do
before :each do
end
it 'creates a list' do
authorize!
list = create(:list)
......
require_relative 'api_daemon_spec_helper'
require 'helpers/api_daemon_spec_helper'
describe 'status' do
it 'returns status code 200' do
......
require_relative 'api_daemon_spec_helper'
require 'helpers/api_daemon_spec_helper'
describe 'subscription via api' do
......
require_relative 'api_daemon_spec_helper'
require 'helpers/api_daemon_spec_helper'
describe 'version' do
it 'returns the current schleuder version' do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment