spec/lib/mshard/mshard_spec.rb in mshard-0.0.2 vs spec/lib/mshard/mshard_spec.rb in mshard-0.1.0
- old
+ new
@@ -3,6 +3,17 @@
describe MShard::MShard do
it 'works' do
id = subject.set(contents: 'a')
expect(subject.get(id)).to eq('a')
end
+
+ it 'works' do
+ subject.set(
+ pushbullet: true,
+ channel_tag: ENV['PUSHBULLET_CHANNEL'],
+ type: 'link',
+ title: 'title',
+ body: 'body',
+ contents: 'a'
+ )
+ end
end