Skip to content

Commit

Permalink
Update specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 7, 2019
1 parent 093b278 commit 58adc85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -4,16 +4,19 @@ cache: bundler

matrix:
include:
- rvm: 2.3.6
- rvm: 2.3
- rvm: 2.4
- rvm: 2.5
- rvm: 2.6
- rvm: 2.6
os: osx
- rvm: 2.6
env: COVERAGE=BriefSummary,Coveralls
- rvm: truffleruby
- rvm: jruby-head
env: JRUBY_OPTS="--debug -X+O"
- rvm: ruby-head
- rvm: rbx-3
allow_failures:
- rvm: truffleruby
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-3
1 change: 1 addition & 0 deletions localhost.gemspec
Expand Up @@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_development_dependency "covered"
spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down
2 changes: 2 additions & 0 deletions spec/localhost_spec.rb
Expand Up @@ -18,6 +18,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

require 'localhost'

RSpec.describe Localhost do
it "has a version number" do
expect(Localhost::VERSION).not_to be nil
Expand Down
3 changes: 1 addition & 2 deletions spec/spec_helper.rb
@@ -1,6 +1,5 @@

require "bundler/setup"
require "localhost"
require 'covered/rspec'

require 'async/rspec'

Expand Down

0 comments on commit 58adc85

Please sign in to comment.