Sha256: a57942a917476ee3063a5334be1bfb6fa698743411e31ad5f5cd171078d32b89
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
require 'test_helper' class PunchforkTest < ActiveSupport::TestCase def setup # Punchfork.setup do |config| # config.api_key = ENV['PUNCHFORK_API_KEY'] # end end test "truth" do assert_kind_of Module, Punchfork end test "search should get 50 results" do response = Punchfork.search(:tomatoes, count:50) assert_equal 50, response['recipes'].length end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
punchfork-0.0.2 | test/punchfork_test.rb |
punchfork-0.0.1 | test/punchfork_test.rb |