test/plugin/test_in_twitter.rb in fluent-plugin-twitter-0.2.4 vs test/plugin/test_in_twitter.rb in fluent-plugin-twitter-0.3.0
- old
+ new
@@ -27,14 +27,15 @@
consumer_secret CONSUMER_SECRET
oauth_token OAUTH_TOKEN
oauth_token_secret OAUTH_TOKEN_SECRET
tag input.twitter
timeline sampling
+ keyword ${hashtag}ruby lang:ja "happy hour" :)
]
- d.instance.inspect
assert_equal 'CONSUMER_KEY', d.instance.consumer_key
assert_equal 'CONSUMER_SECRET', d.instance.consumer_secret
assert_equal 'OAUTH_TOKEN', d.instance.oauth_token
assert_equal 'OAUTH_TOKEN_SECRET', d.instance.oauth_token_secret
+ assert_equal '#ruby lang:ja "happy hour" :)', d.instance.keyword
end
end