Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-Muncher Marisa Morris #33

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added simple cov
HelloMarisaMorris committed Nov 8, 2017
commit 761d876ab17897eeef374f6b7cd29e5fe2f2dc0d
Binary file modified .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -38,6 +38,8 @@ gem 'awesome_print'
gem 'kaminari'




group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
@@ -53,6 +55,8 @@ group :development, :test do
gem 'minitest-vcr'
gem 'webmock'
gem 'pry-rails'
gem 'simplecov'

end

group :development do
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@ GEM
safe_yaml (~> 1.0.0)
crass (1.0.2)
debug_inspector (0.0.3)
docile (1.1.5)
dotenv (2.2.1)
dotenv-rails (2.2.1)
dotenv (= 2.2.1)
@@ -91,6 +92,7 @@ GEM
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
json (2.1.0)
kaminari (1.1.1)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.1.1)
@@ -194,6 +196,11 @@ GEM
selenium-webdriver (3.6.0)
childprocess (~> 0.5)
rubyzip (~> 1.0)
simplecov (0.15.1)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
spring (2.0.2)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
@@ -256,6 +263,7 @@ DEPENDENCIES
rails (~> 5.1.4)
sass-rails (~> 5.0)
selenium-webdriver
simplecov
spring
spring-watcher-listen (~> 2.0.0)
turbolinks (~> 5)
5 changes: 5 additions & 0 deletions coverage/.last_run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"result": {
"covered_percent": 96.77
}
}
93 changes: 93 additions & 0 deletions coverage/.resultset.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"MiniTest": {
"coverage": {
"/Users/marisamorris/Documents/ada developers academy/week_13/api-muncher/app/helpers/application_helper.rb": [
1,
null
],
"/Users/marisamorris/Documents/ada developers academy/week_13/api-muncher/app/helpers/home_helper.rb": [
1,
null
],
"/Users/marisamorris/Documents/ada developers academy/week_13/api-muncher/app/helpers/homepage_helper.rb": [
1,
null
],
"/Users/marisamorris/Documents/ada developers academy/week_13/api-muncher/app/helpers/recipes_helper.rb": [
1,
null
],
"/Users/marisamorris/Documents/ada developers academy/week_13/api-muncher/lib/edamam_api_wrapper.rb": [
1,
null,
1,
null,
null,
null,
1,
1,
1,
null,
null,
1,
2,
null,
2,
null,
null,
null,
null,
2,
2,
100,
null,
2,
null,
0,
null,
null,
null,
null,
null,
1,
null,
1,
null,
1,
null,
1,
null,
null,
null
],
"/Users/marisamorris/Documents/ada developers academy/week_13/api-muncher/lib/recipe.rb": [
1,
1,
null,
1,
null,
101,
101,
101,
101,
101,
101,
101,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
},
"timestamp": 1510109853
}
}
Empty file added coverage/.resultset.json.lock
Empty file.
799 changes: 799 additions & 0 deletions coverage/assets/0.10.2/application.css

Large diffs are not rendered by default.

1,707 changes: 1,707 additions & 0 deletions coverage/assets/0.10.2/application.js

Large diffs are not rendered by default.

Binary file added coverage/assets/0.10.2/colorbox/border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/colorbox/controls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/colorbox/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/favicon_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/favicon_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/favicon_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coverage/assets/0.10.2/magnify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
690 changes: 690 additions & 0 deletions coverage/index.html

Large diffs are not rendered by default.

120 changes: 120 additions & 0 deletions test/cassettes/recipes.yml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion test/lib/edamam_api_wrapper_test.rb
Original file line number Diff line number Diff line change
@@ -35,6 +35,5 @@
recipe.must_be_instance_of Recipe
end
end

end
end
14 changes: 12 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
require File.expand_path('../../config/environment', __FILE__)
require 'simplecov'
SimpleCov.start
ENV["RAILS_ENV"] = "test"
require File.expand_path("../../config/environment", __FILE__)
require "rails/test_help"
require "minitest/rails"
require 'rails/test_help'
require 'simplecov'
SimpleCov.start


require File.expand_path('../../config/environment', __FILE__)
# require "minitest/rails"
# require 'rails/test_help'
require 'vcr'
require 'webmock/minitest'