Skip to content

Commit

Permalink
Fix operation tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
srdanrasic committed May 21, 2016
1 parent 50e4c83 commit 62ee6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/OperationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ class OperatorsTests: XCTestCase {

func testToStream() {
let operation = Operation<Int, TestError>.sequence([1, 2, 3])
let stream = operation.toStream(logError: false)
let stream = operation.toStream(justLogError: false)
stream.expectNext([1, 2, 3])
}

func testToStream2() {
let operation = Operation<Int, TestError>.failure(.Error)
let stream = operation.toStream(logError: false)
let stream = operation.toStream(justLogError: false)
stream.expectNext([])
}

Expand Down

0 comments on commit 62ee6b1

Please sign in to comment.