32 lines
916 B
Ruby
32 lines
916 B
Ruby
require 'spec_helper'
|
|
|
|
describe "Session Info", :js => true, :type => :feature, :capybara_feature => true do
|
|
|
|
let (:user) { FactoryGirl.create(:user) }
|
|
|
|
before(:all) do
|
|
MusicSession.delete_all
|
|
end
|
|
|
|
before(:each) do
|
|
create_session(creator: user)
|
|
formal_leave_by(user)
|
|
end
|
|
|
|
# musician_access = true, approval_required = true
|
|
it "should allow only session invitees to view for 'XXX' option before session starts" do
|
|
end
|
|
|
|
# musician_access = false, approval_required = false
|
|
it "should allow only RSVP approvals to view for 'Only RSVP musicians may join' option after session starts" do
|
|
end
|
|
|
|
# musician_access = true, approval_required = false
|
|
it "should allow anyone to view for 'at will' option after session starts" do
|
|
end
|
|
|
|
# musician_access = true, approval_required = true
|
|
it "should allow anyone to view for 'join by approval' option after session starts" do
|
|
end
|
|
|
|
end |