spec/model/thread_spec.rb in yammer-client-0.1.2 vs spec/model/thread_spec.rb in yammer-client-0.1.3
- old
+ new
@@ -6,9 +6,15 @@
Yammer.configure do |conf|
conf.access_token = 'TolNOFka9Uls2DxahNi78A'
end
end
+ after :all do
+ Yammer.reset!
+ end
+
+ subject { Yammer::GroupMembership }
+
context 'existing public thread' do
subject { Yammer::Thread.new(MultiJson.load(fixture("public_thread.json"), :symbolize_keys => true)) }
describe "#id" do
it 'returns id' do
\ No newline at end of file