Skip to content

Commit

Permalink
Move tests (#9)
Browse files Browse the repository at this point in the history
* Update directory names

* Rename tests

* Exclude specs from coverage

* remove DS_Store files
  • Loading branch information
ZekeSnider authored Aug 25, 2024
1 parent 3088ba3 commit 6d28bdc
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ build-iPhoneSimulator/

# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*
**/.DS_Store
Binary file removed lib/.DS_Store
Binary file not shown.
Binary file removed lib/jekyll/.DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'spec_helper'
require 'webmock/rspec'
require 'pry'
require_relative '../lib/jekyll/apple-maps/client.rb'
require_relative '../../../lib/jekyll/apple_maps/client.rb'

RSpec.describe Jekyll::AppleMaps::AppleMapsClient do
let(:api_key) { 'snapshot_api_key' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'jekyll'
require 'pry'
require 'fakefs/safe'
require_relative '../lib/jekyll/apple-maps/snapshot_block'
require_relative '../../../lib/jekyll/apple_maps/snapshot_block'

RSpec.describe Jekyll::AppleMaps::SnapshotBlock do
let(:template) {
Expand Down
4 changes: 3 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::JSONFormatter,
]
SimpleCov.start
SimpleCov.start do
add_filter '/spec/'
end

RSpec.configure do |config|
config.expect_with :rspec do |expectations|
Expand Down

0 comments on commit 6d28bdc

Please sign in to comment.