fix more web conference related specs
Change-Id: I077183cb074a4013257e1c3e2b768635b1b10917 Reviewed-on: https://gerrit.instructure.com/6539 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Brian Palmer <brianp@instructure.com>
This commit is contained in:
parent
c758b85f85
commit
b9981e4b9c
|
@ -20,6 +20,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
||||||
|
|
||||||
describe 'web_conference_invitation.email' do
|
describe 'web_conference_invitation.email' do
|
||||||
|
before do
|
||||||
|
# these specs need an enabled web conference plugin
|
||||||
|
@plugin = PluginSetting.find_or_create_by_name('dim_dim')
|
||||||
|
@plugin.update_attribute(:settings, { :domain => 'www.example.com' })
|
||||||
|
end
|
||||||
|
|
||||||
it "should render" do
|
it "should render" do
|
||||||
course_model(:reusable => true)
|
course_model(:reusable => true)
|
||||||
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
||||||
|
|
|
@ -20,6 +20,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
||||||
|
|
||||||
describe 'web_conference_invitation.facebook' do
|
describe 'web_conference_invitation.facebook' do
|
||||||
|
before do
|
||||||
|
# these specs need an enabled web conference plugin
|
||||||
|
@plugin = PluginSetting.find_or_create_by_name('dim_dim')
|
||||||
|
@plugin.update_attribute(:settings, { :domain => 'www.example.com' })
|
||||||
|
end
|
||||||
|
|
||||||
it "should render" do
|
it "should render" do
|
||||||
course_model(:reusable => true)
|
course_model(:reusable => true)
|
||||||
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
||||||
|
|
|
@ -20,6 +20,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
||||||
|
|
||||||
describe 'web_conference_invitation.sms' do
|
describe 'web_conference_invitation.sms' do
|
||||||
|
before do
|
||||||
|
# these specs need an enabled web conference plugin
|
||||||
|
@plugin = PluginSetting.find_or_create_by_name('dim_dim')
|
||||||
|
@plugin.update_attribute(:settings, { :domain => 'www.example.com' })
|
||||||
|
end
|
||||||
|
|
||||||
it "should render" do
|
it "should render" do
|
||||||
course_model(:reusable => true)
|
course_model(:reusable => true)
|
||||||
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
||||||
|
|
|
@ -20,6 +20,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/messages_helper')
|
||||||
|
|
||||||
describe 'web_conference_invitation.summary' do
|
describe 'web_conference_invitation.summary' do
|
||||||
|
before do
|
||||||
|
# these specs need an enabled web conference plugin
|
||||||
|
@plugin = PluginSetting.find_or_create_by_name('dim_dim')
|
||||||
|
@plugin.update_attribute(:settings, { :domain => 'www.example.com' })
|
||||||
|
end
|
||||||
|
|
||||||
it "should render" do
|
it "should render" do
|
||||||
course_model(:reusable => true)
|
course_model(:reusable => true)
|
||||||
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
@object = @course.web_conferences.create!(:conference_type => 'DimDim')
|
||||||
|
|
|
@ -20,6 +20,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../views_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../views_helper')
|
||||||
|
|
||||||
describe "/conference/index" do
|
describe "/conference/index" do
|
||||||
|
before do
|
||||||
|
# these specs need an enabled web conference plugin
|
||||||
|
@plugin = PluginSetting.find_or_create_by_name('dim_dim')
|
||||||
|
@plugin.update_attribute(:settings, { :domain => 'www.example.com' })
|
||||||
|
end
|
||||||
|
|
||||||
it "should render" do
|
it "should render" do
|
||||||
course_with_teacher(:active_all => true)
|
course_with_teacher(:active_all => true)
|
||||||
view_context(@course, @user)
|
view_context(@course, @user)
|
||||||
|
|
|
@ -20,6 +20,12 @@ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../views_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../views_helper')
|
||||||
|
|
||||||
describe "/conference/show" do
|
describe "/conference/show" do
|
||||||
|
before do
|
||||||
|
# these specs need an enabled web conference plugin
|
||||||
|
@plugin = PluginSetting.find_or_create_by_name('dim_dim')
|
||||||
|
@plugin.update_attribute(:settings, { :domain => 'www.example.com' })
|
||||||
|
end
|
||||||
|
|
||||||
it "should render" do
|
it "should render" do
|
||||||
course_with_teacher(:active_all => true)
|
course_with_teacher(:active_all => true)
|
||||||
view_context(@course, @user)
|
view_context(@course, @user)
|
||||||
|
|
Loading…
Reference in New Issue