Merge pull request #2757 from luisramos0/delete_dead_specs

Deleted sample specs and one pending spec
This commit is contained in:
Maikel
2018-09-21 15:41:49 +10:00
committed by GitHub
6 changed files with 0 additions and 53 deletions

View File

@@ -176,7 +176,6 @@ feature %q{
page.should have_selector 'td', text: 'Two', count: 1
end
pending "shows me only payment methods for the enterprise I select" do
pm1
pm2

View File

@@ -1,15 +0,0 @@
require 'spec_helper'
# Specs in this file have access to a helper object that includes
# the MapHelper. For example:
#
# describe MapHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
describe MapHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -1,5 +0,0 @@
require 'spec_helper'
describe AccountInvoice do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -1,5 +0,0 @@
require 'spec_helper'
describe DistributorShippingMethod do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -1,12 +0,0 @@
module RablHelper
# See https://github.com/nesquena/rabl/issues/231
# Allows us to test RABL views using URL helpers
class FakeContext
include Singleton
include Rails.application.routes.url_helpers
include Sprockets::Helpers::RailsHelper
include Sprockets::Helpers::IsolatedHelper
include ActionView::Helpers::TagHelper
include ActionView::Helpers::AssetTagHelper
end
end

View File

@@ -1,15 +0,0 @@
require 'spec_helper'
describe 'json/_producers.json.rabl' do
let!(:producer) { create(:supplier_enterprise) }
let(:render) { Rabl.render([producer], 'json/producers', view_path: 'app/views', scope: RablHelper::FakeContext.instance) }
pending "renders a list of producers" do
render.should have_json_type(Array).at_path ''
render.should have_json_type(Object).at_path '0'
end
pending "renders names" do
render.should be_json_eql(producer.name.to_json).at_path '0/name'
end
end