Git Product home page Git Product logo

Comments (6)

flavorjones avatar flavorjones commented on September 24, 2024

on-it

from calendar-assistant.

flavorjones avatar flavorjones commented on September 24, 2024

I'm suggesting:

# CLI
    describe "join" do
      it "calls #find_current_av_url"

      context "when there is no URL" do
        it "prints a notice message"
      end

      context "when there is a URL" do
        context "with --print option" do
          it "prints the meeting URL"
        end

        context "by default" do
          it "launches the meeting URL in your browser"
        end
      end
    end

# Impl
    describe "#find_current_av_url" do
      context "no current meeting" do
        it "returns nil"
      end

      context "a current meeting" do
        context "it's declined" do
          it "returns nil"
        end

        context "it's not declined" do
          context "it has no known meeting URL" do
            it "returns nil"
          end
          
          context "it has a zoom" do
            it "returns the zoom URL"
          end
        end
      end

      context "multiple current meetings" do
        it "picks any non-declined meeting with a zoom URL and returns it"
      end
    end

from calendar-assistant.

flavorjones avatar flavorjones commented on September 24, 2024

Updated specs with more detail

from calendar-assistant.

gsiener avatar gsiener commented on September 24, 2024

LGTM

from calendar-assistant.

flavorjones avatar flavorjones commented on September 24, 2024

Done.

from calendar-assistant.

gsiener avatar gsiener commented on September 24, 2024

from calendar-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.