Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Jul 18, 2015
1 parent 7b8a1e3 commit 754875a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/spaceship/tunes/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ def factory(attrs)
end

def setup
@external_testing_enabled = self.external_expiry_date > 0
super

@external_testing_enabled = (self.external_expiry_date || 0) > 0
end
end
end
Expand Down
2 changes: 2 additions & 0 deletions lib/spaceship/tunes/build_train.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def all(application, app_id)

# Setup all the builds and processing builds
def setup
super

@builds = self.raw_data['builds'].collect do |attrs|
attrs.merge!(build_train: self)
Tunes::Build.factory(attrs)
Expand Down

0 comments on commit 754875a

Please sign in to comment.