Update to rspec 3.2

This commit is contained in:
Thibault Jouan
2015-04-29 14:55:03 +00:00
parent 96246f87bf
commit 282eb2ddee
7 changed files with 40 additions and 38 deletions

View File

@@ -1,14 +1,14 @@
require 'spec_helper'
feature 'API playlists' do
describe 'API playlists' do
include UserIntegrationHelpers
background { api_sign_in }
before { api_sign_in }
scenario 'creates playlist' do
it 'creates playlist' do
playlist = FactoryGirl.attributes_for :playlist
post api_playlists_path,
post_via_redirect api_playlists_path,
format: :json,
playlist: playlist