Sha256: 82065157530bb664c27a63063a9a52e416a529c1365a1a9f6e3cf779b084eedc
Contents?: true
Size: 505 Bytes
Versions: 2
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' class SpecViewHelper include Exvo::ViewHelpers end describe Exvo::ViewHelpers do describe "javascript_bundle_include_tag" do let(:view_helper) { SpecViewHelper.new } it "should return the javascript_include_tag based on env" do Exvo::Helpers.stub(:env).and_return('production') view_helper.should_receive(:javascript_include_tag).with("//cdn.exvo.com/javascripts/plugins.js") view_helper.javascript_bundle_include_tag("plugins") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exvo_helpers-0.0.4 | spec/exvo_helpers/view_helpers_spec.rb |
exvo_helpers-0.0.3 | spec/exvo_helpers/view_helpers_spec.rb |