Skip to content

Commit 0c37749

Browse files
committed
disable webmock for rdf-spec repo tests and reenable repo tests
1 parent 7028605 commit 0c37749

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CREDITS

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
* Michael Sokol <[email protected]>
1010
* Yves Raimond <[email protected]>
1111
* Danny Tran <[email protected]>
12+
* Nick Gottlieb <[email protected]>

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ follows:
120120
* [Michael Sokol](http://github.com/mikaa123) - <http://sokolmichael.com/>
121121
* [Yves Raimond](http://github.com/moustaki) - <http://moustaki.org/>
122122
* [Thomas Feron](http://github.com/thoferon) - <http://github.com/thoferon>
123+
* [Nick Gottlieb](http://github.com/ngottlieb) - <http://www.nicholasgottlieb.com>
123124

124125
##Contributing
125126
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.

spec/repository_spec.rb

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22
require File.join(File.dirname(__FILE__), 'spec_helper')
33
require 'rdf/spec/repository'
44

5-
describe SPARQL::Client::Repository, skip: "Need a local endpoint, not Dydra" do
5+
describe SPARQL::Client::Repository do
66
before :all do
77
@repository = SPARQL::Client::Repository.new('http://[email protected]/ruby-rdf/sparql-client-test/sparql')
8+
WebMock.disable!
9+
end
10+
11+
after :all do
12+
Webmock.enable!
813
end
914

1015
around :example do |example|
@@ -22,7 +27,7 @@
2227
end
2328

2429
# @see lib/rdf/spec/repository.rb in RDF-spec
25-
#include RDF_Repository
30+
include RDF_Repository
2631

2732
context "Problematic Tests", skip: true do
2833
subject {@repository}

0 commit comments

Comments
 (0)