Skip to content

Commit

Permalink
Move the specs for reports to a path matching the lib path
Browse files Browse the repository at this point in the history
  • Loading branch information
aeden committed Sep 7, 2014
1 parent e393b08 commit 7dfe972
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require 'spec_helper'

describe ActiveWarehouse::Report::DataCell do

Expand Down
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require 'spec_helper'

describe ActiveWarehouse::Report::DataColumn do

Expand Down
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require 'spec_helper'

describe ActiveWarehouse::Report::DataRow do

Expand Down
@@ -1,5 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'

require 'spec_helper'

describe ActiveWarehouse::Report::Dimension do
describe ".new with type column" do
Expand Down Expand Up @@ -144,7 +143,7 @@
context "when there are no hierarchy levels beneath the current stage" do
let(:params) { {:ancestors => {"year" => "2006", "month" => "Jan"}, :stage => 2} }
it "should return false" do
dimension = ActiveWarehouse::Report::Dimension.row(@report, params)
dimension = ActiveWarehouse::Report::Dimension.row(report, params)
expect(dimension).to_not have_children
end
end
Expand Down
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require 'spec_helper'

describe ActiveWarehouse::Report::TableReport, ".view" do

Expand Down
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require 'spec_helper'

describe ActiveWarehouse::View::TableView do

Expand Down

0 comments on commit 7dfe972

Please sign in to comment.