spec/spec_helper.rb in sockit-1.1.0 vs spec/spec_helper.rb in sockit-1.1.1
- old
+ new
@@ -15,29 +15,27 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
+
+require 'codeclimate-test-reporter'
+require 'coveralls'
require 'simplecov'
require 'simplecov-rcov'
-################################################################################
-ENV['CODECLIMATE_REPO_TOKEN'] = "5bfff36fe2faa17f9251e2e5cebc5b7fb277fa58f49e6d84451f8a1a0329da0d"
-require "codeclimate-test-reporter"
-CodeClimate::TestReporter.start
-################################################################################
-require 'coveralls'
-Coveralls.wear!
-################################################################################
+require 'yarjuf'
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
[
+ CodeClimate::TestReporter::Formatter,
+ Coveralls::SimpleCov::Formatter,
SimpleCov::Formatter::HTMLFormatter,
- SimpleCov::Formatter::RcovFormatter,
- Coveralls::SimpleCov::Formatter
+ SimpleCov::Formatter::RcovFormatter
]
)
+
SimpleCov.start
-################################################################################
-require 'yarjuf'
+
################################################################################
require 'tempfile'
require 'sockit'