spec/model/message_spec.rb in yammer-client-0.1.2 vs spec/model/message_spec.rb in yammer-client-0.1.3
- old
+ new
@@ -1,8 +1,18 @@
require File.expand_path('../../spec_helper', __FILE__)
describe Yammer::Message do
+ before :all do
+ Yammer.configure do |conf|
+ conf.access_token = 'TolNOFka9Uls2DxahNi78A'
+ end
+ end
+
+ after :all do
+ Yammer.reset!
+ end
+
context 'class methods' do
subject { Yammer::Message }
describe '#create' do
\ No newline at end of file