Sha256: 372351938cd682c34997608a5ee15962546e042c95b892763546d6920a6a82b0
Contents?: true
Size: 720 Bytes
Versions: 6
Compression:
Stored size: 720 Bytes
Contents
require "spec_helper" describe BitPlayer::ContentModule do fixtures :"bit_player/tools", :"bit_player/content_modules", :"bit_player/content_providers" describe "#provider" do it "should return the Null Provider when one is not found" do provider = bit_player_content_modules(:home_landing).provider(8) expect(provider.position).to eq(8) expect(provider.class).to eq(BitPlayer::ContentProviders::Null) end it "should return the associated provider at the position" do provider = bit_player_content_modules(:home_landing).provider(1) expect(provider.position).to eq(1) expect(provider.class).not_to eq(BitPlayer::ContentProviders::Null) end end end
Version data entries
6 entries across 6 versions & 1 rubygems