spec/model/group_spec.rb in yammer-client-0.1.2 vs spec/model/group_spec.rb in yammer-client-0.1.3
- old
+ new
@@ -1,9 +1,19 @@
require File.expand_path('../../spec_helper', __FILE__)
describe Yammer::Group do
context 'class methods' do
+ before :all do
+ Yammer.configure do |conf|
+ conf.access_token = 'TolNOFka9Uls2DxahNi78A'
+ end
+ end
+
+ after :all do
+ Yammer.reset!
+ end
+
subject { Yammer::Group }
describe '#create' do
it 'creates a new group' do
stub_request(:post, "https://www.yammer.com/api/v1/groups").with(
\ No newline at end of file